import React from 'react'
import { Collapse } from 'react-vant';
import {useNavigate} from "react-router-dom"
function ShowContent() {
    let navgiate = useNavigate()
    let goDENU = ()=>{
        navgiate("/menu")
    }
    return (
        <div>
            <div style={{ height: "50px" }}></div>
            <Collapse initExpanded={['1']}>
                <Collapse.Item title="个人管理" name="1">
                       <p style={{borderBottom:"1px solid #ccc"}} onClick={goDENU}>个人管理1</p>
                       <p style={{borderBottom:"1px solid #ccc"}}>个人管理2</p>
                       <p style={{borderBottom:"1px solid #ccc"}}>个人管理1</p>
                </Collapse.Item>
                <Collapse.Item title="学员管理" name="2">
                      学员管理
                </Collapse.Item>
              
            </Collapse>
        </div>
    )
}

export default ShowContent